Syntax for "In" Operator
Does anyone know what the syntax for the "In" operator is when setting a filter on a matrix.
December 1st, 2005 11:30pm

Any clue on this. I have tried (value,value), value;value, value,value. and multiple other combinations. I have been unsuccessful on finding anthing about this.
Free Windows Admin Tool Kit Click here and download it now
December 5th, 2005 4:04pm

Perhaps quotes would work? Also try View Code and edit the XML manually (backup the report first.) The syntax to look for is this: <Filter> ... <FilterValues> <FilterValue>...</FilterValue> </FilterValues> ...</Filter> Once you change the XML, go back into your filter to see what the resulting syntax is.
December 5th, 2005 5:34pm

No dice. Still not able to use 'IN' operator for table filter.
Free Windows Admin Tool Kit Click here and download it now
December 6th, 2005 11:10pm

If you want to use the IN filter, the filter value expression has to return a multi-dimensional array. Typically you would use an IN filter with a multi-select report parameter.If you want to define your own list of values, you can use an expression like this:=Split("value1,value2,value3", ",")The Split function will create a multidimensional string array out of the original string.-- Robert
December 7th, 2005 7:06am

If you want to use the IN filter, the filter value expression has to return a multi-dimensional array. Typically you would use an IN filter with a multi-select report parameter. If you want to define your own list of values, you can use an expression like this: =Split("value1,value2,value3", ",") The Split function will create a multidimensional string array out of the original string. -- Robert THANK YOU THANK YOU for that, I have spent a LONG time on google this to find the answer. Dawned on me to try the user forums specifically for Microsoft. It would have been nice for MS to put an example into the help files.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 3:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics